<?php
$preApp123 = new AppModel\PreApp();

$v = null;
if(!isset($v) && Input::has("LoanAmount")){
    $v=Input::get("LoanAmount");
}
if(!isset($v) && Input::has("p-LoanAmount")){
    $v=Input::get("p-LoanAmount");
}
if(!isset($v))$v= \BLL\DataModel\DataType::getValueFromString("Int", "2000" );
$preApp123->LoanAmount=$v;

$v = null;
if(!isset($v) && Input::has("Asset")){
    $v=Input::get("Asset");
}
if(!isset($v) && Input::has("p-Asset")){
    $v=Input::get("p-Asset");
}
$preApp123->Asset=$v;

$v = null;
if(!isset($v) && Input::has("Credit")){
    $v=Input::get("Credit");
}
if(!isset($v) && Input::has("p-Credit")){
    $v=Input::get("p-Credit");
}
$preApp123->CreditHistory=$v;

if(Input::has("FirstName")){
   $v=Input::get("FirstName");
}
$preApp123->FirstName=$v;

if(Input::has("LastName")){
   $v=Input::get("LastName");
}
$preApp123->LastName=$v;

if(Input::has("SendFrom")){
   $v=Input::get("SendFrom");
}
$preApp123->SendFrom=$v;

if(Input::has("IP")){
   $v=Input::get("IP");
}
$preApp123->IP=$v;

if(Input::has("Browser")){
   $v=Input::get("Browser");
}
$preApp123->Browser=$v;

if(Input::has("status")){
   $v=Input::get("status");
}
$preApp123->status=$v;
